package com.ruoyi.system.audition.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 审核对象 approval_records
 * 
 * @author ruoyi
 * @date 2025-04-26
 */
public class ApprovalRecords extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long recordId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String contractId;

    /** $column.columnComment */
    @Excel(name = "港口审批时间", readConverterExp = "$column.readConverterExp()")
    private Date portApprovalTime;

    /** $column.columnComment */
    @Excel(name = "$货主审批时间", readConverterExp = "$column.readConverterExp()")
    private Date ownerApprovalTime;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String portApprovalStatus;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String ownerApprovalStatus;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String portApprovalComments;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String ownerApprovalComments;

    public void setRecordId(Long recordId) 
    {
        this.recordId = recordId;
    }

    public Long getRecordId() 
    {
        return recordId;
    }

    public void setContractId(String contractId)
    {
        this.contractId = contractId;
    }

    public String getContractId()
    {
        return contractId;
    }

    public void setPortApprovalTime(Date portApprovalTime) 
    {
        this.portApprovalTime = portApprovalTime;
    }

    public Date getPortApprovalTime() 
    {
        return portApprovalTime;
    }

    public void setOwnerApprovalTime(Date ownerApprovalTime) 
    {
        this.ownerApprovalTime = ownerApprovalTime;
    }

    public Date getOwnerApprovalTime() 
    {
        return ownerApprovalTime;
    }

    public void setPortApprovalStatus(String portApprovalStatus) 
    {
        this.portApprovalStatus = portApprovalStatus;
    }

    public String getPortApprovalStatus() 
    {
        return portApprovalStatus;
    }

    public void setOwnerApprovalStatus(String ownerApprovalStatus) 
    {
        this.ownerApprovalStatus = ownerApprovalStatus;
    }

    public String getOwnerApprovalStatus() 
    {
        return ownerApprovalStatus;
    }

    public void setPortApprovalComments(String portApprovalComments) 
    {
        this.portApprovalComments = portApprovalComments;
    }

    public String getPortApprovalComments() 
    {
        return portApprovalComments;
    }

    public void setOwnerApprovalComments(String ownerApprovalComments) 
    {
        this.ownerApprovalComments = ownerApprovalComments;
    }

    public String getOwnerApprovalComments() 
    {
        return ownerApprovalComments;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recordId", getRecordId())
            .append("contractId", getContractId())
            .append("portApprovalTime", getPortApprovalTime())
            .append("ownerApprovalTime", getOwnerApprovalTime())
            .append("portApprovalStatus", getPortApprovalStatus())
            .append("ownerApprovalStatus", getOwnerApprovalStatus())
            .append("portApprovalComments", getPortApprovalComments())
            .append("ownerApprovalComments", getOwnerApprovalComments())
            .toString();
    }
}
